package com.hegaoye.service;

import com.hegaoye.client.AccountFeignApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class AccountServiceImpl implements AccountService {

  @Autowired private AccountFeignApi accountFeignApi;

  @Override
  public String load(String account) {
    String result = accountFeignApi.load(account);
    return result;
  }
}
